
require("Scripts/Common/Utility")
require("Scripts/Common/Class")
require("Scripts/EntitySystem/CommonEntity")

ImageEntity = Class(CommonEntity)

function ImageEntity:Ctor()
	self._show = SailImageEntity()	-- 创建显示控件
end

function ImageEntity:SetTexture(filepath, name)
	-- 设置纹理
	g_TextureManager:SetTexture(filepath, name, self._show)
end
